﻿@inherits ComponentDefault
@namespace ThingsGateway.Admin.Razor
@using ThingsGateway.Admin.Application
@using ThingsGateway.NewLife.X

<ValidateForm class="p-4 h-100" Model="@Model" OnValidSubmit="OnSave">
    <MultiSelect class="mb-2" Items="@SelectedItems" @bind-Value="@Model.DefaultShortcuts" ShowSearch="true" ShowToolbar="true" />
    <Select Items="@SelectedItems" @bind-Value="@Model.DefaultRazor" ShowSearch="true" IsPopover />
    <Button class="mt-2" ButtonType="ButtonType.Submit" Icon="fa-solid fa-floppy-disk" IsAsync Text=@DefaultLocalizer["Save"] />
</ValidateForm>
